﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Brjostagjof.Models.CommonQuestion>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Brjóstagjöf - Algengar spurningar
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h1>Algengar spurningar</h1>
    <p>
        Hér eru algengar spurningar sem hafa hafa verið sendar fagaðilum. Ef þú finnur ekki svar við þinni spurningu hér þá getur þú sent póst á fagaðila undir "Hafa Samband" hér til hægri.
    </p>
    <% foreach (var item in Model)
       { %>
        <div class ="spurtOgSvarad">
               <h2>Spurning: <%: item.Title %></h2>  
               <br/>
               <h4>Svar:    <%: item.Body  %></h4>  
        </div>
     <%} %>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="Actions" runat="server" >
    <%Html.RenderPartial("PartialViews/Actions", "Spurning"); %>
</asp:Content>